Calculating missile trajectory around orbits before shooting [closed]

Posted by Onofrio on Game Development See other posts from Game Development or by Onofrio
Published on 2011-11-24T22:35:07Z Indexed on 2011/11/26 10:28 UTC
Read the original article Hit count: 174

Filed under:

Possible Duplicate:
Calculating missile trajectory around orbits before shooting

I'm building a game with Unity3D. It's a Gravity Wars clone. Both player and AI turrets shoot missiles at each other (giving an Angle and a Power variables), trying not to crash missiles on planets. But here's my question: how do I make AI calculate power and angle before shooting his missile, considering a planet's gravity too?

© Game Development or respective owner

Related posts about unity